<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>JSONP</title>
    <script>
        function jsonpCallback(res) {
            console.log(res);
        }

        var scripts = document.createElement('script');
        scripts.src="data.js";
        
        var header = document.getElementsByTagName('head')[0];
        header.appendChild(scripts);

    </script>
</head>
<body>
    
</body>
</html>